package com.chuanyang.driverh.response2;

import com.chuanyang.driverh.responseresult.Result;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xupeixian on 2017/4/18.
 */

public class ResultAllotGoodsSuccess extends Result implements Serializable{

    /**
     * code : 100
     * data : {"createtime":"2016-10-28 13:44:17.0","phone":"13916524454","plateNumber":"456","sumDetailsNum":963,"sumDetailsWeight":15233,"username":"呆呆呆呆呆呆子","waybillGoodsInfos":[{"detailsNum":99,"detailsWeight":5223,"goodsMaterial":"12","goodsName":"刚12","goodsStandard":"捆"},{"detailsNum":99,"detailsWeight":8812,"goodsMaterial":"123","goodsName":"铁23","goodsStandard":"捆12"},{"detailsNum":99,"detailsWeight":532,"goodsMaterial":"12","goodsName":"铁","goodsStandard":"捆"}],"waybillId":116,"waybillNo":"LGN2016102813441788618","waybillStatus":3}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * createtime : 2016-10-28 13:44:17.0
         * phone : 13916524454
         * plateNumber : 456
         * sumDetailsNum : 963
         * sumDetailsWeight : 15233
         * username : 呆呆呆呆呆呆子
         * waybillGoodsInfos : [{"detailsNum":99,"detailsWeight":5223,"goodsMaterial":"12","goodsName":"刚12","goodsStandard":"捆"},{"detailsNum":99,"detailsWeight":8812,"goodsMaterial":"123","goodsName":"铁23","goodsStandard":"捆12"},{"detailsNum":99,"detailsWeight":532,"goodsMaterial":"12","goodsName":"铁","goodsStandard":"捆"}]
         * waybillId : 116
         * waybillNo : LGN2016102813441788618
         * waybillStatus : 3
         */

        private String createtime;
        private String phone;
        private String plateNumber;
        private double sumDetailsNum;
        private double sumDetailsWeight;
        private String username;
        private int waybillId;
        private String waybillNo;
        private int waybillStatus;
        private List<WaybillGoodsInfosBean> waybillGoodsInfos;

        private double listedPrice;//挂牌总价
        private double originalWeight;//挂牌重量
        private int originalNum;//挂牌数量
        private int transPortWay;//

        public double getListedPrice() {
            return listedPrice;
        }

        public void setListedPrice(double listedPrice) {
            this.listedPrice = listedPrice;
        }

        public double getOriginalWeight() {
            return originalWeight;
        }

        public void setOriginalWeight(double originalWeight) {
            this.originalWeight = originalWeight;
        }

        public int getOriginalNum() {
            return originalNum;
        }

        public void setOriginalNum(int originalNum) {
            this.originalNum = originalNum;
        }

        public int getTransPortWay() {
            return transPortWay;
        }

        public void setTransPortWay(int transPortWay) {
            this.transPortWay = transPortWay;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getPlateNumber() {
            return plateNumber;
        }

        public void setPlateNumber(String plateNumber) {
            this.plateNumber = plateNumber;
        }

        public double getSumDetailsNum() {
            return sumDetailsNum;
        }

        public void setSumDetailsNum(double sumDetailsNum) {
            this.sumDetailsNum = sumDetailsNum;
        }

        public double getSumDetailsWeight() {
            return sumDetailsWeight;
        }

        public void setSumDetailsWeight(double sumDetailsWeight) {
            this.sumDetailsWeight = sumDetailsWeight;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public int getWaybillId() {
            return waybillId;
        }

        public void setWaybillId(int waybillId) {
            this.waybillId = waybillId;
        }

        public String getWaybillNo() {
            return waybillNo;
        }

        public void setWaybillNo(String waybillNo) {
            this.waybillNo = waybillNo;
        }

        public int getWaybillStatus() {
            return waybillStatus;
        }

        public void setWaybillStatus(int waybillStatus) {
            this.waybillStatus = waybillStatus;
        }

        public List<WaybillGoodsInfosBean> getWaybillGoodsInfos() {
            return waybillGoodsInfos;
        }

        public void setWaybillGoodsInfos(List<WaybillGoodsInfosBean> waybillGoodsInfos) {
            this.waybillGoodsInfos = waybillGoodsInfos;
        }

        public static class WaybillGoodsInfosBean implements Serializable{
            /**
             * detailsNum : 99
             * detailsWeight : 5223
             * goodsMaterial : 12
             * goodsName : 刚12
             * goodsStandard : 捆
             */

            private int detailsNum;
            private double detailsWeight;
            private String goodsMaterial;
            private String goodsName;
            private String goodsStandard;

            public int getDetailsNum() {
                return detailsNum;
            }

            public void setDetailsNum(int detailsNum) {
                this.detailsNum = detailsNum;
            }

            public double getDetailsWeight() {
                return detailsWeight;
            }

            public void setDetailsWeight(double detailsWeight) {
                this.detailsWeight = detailsWeight;
            }

            public String getGoodsMaterial() {
                return goodsMaterial;
            }

            public void setGoodsMaterial(String goodsMaterial) {
                this.goodsMaterial = goodsMaterial;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getGoodsStandard() {
                return goodsStandard;
            }

            public void setGoodsStandard(String goodsStandard) {
                this.goodsStandard = goodsStandard;
            }
        }
    }
}
